﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CARMSBusiness.InterFace;
using CARMSData.EntityClasses;

namespace CARMSBusiness
{
    public class GlobalBusiness
    {
        /// <summary>
        /// A+YYYYMMDD+5位数
        /// </summary>
        /// <returns></returns>
        public static string GetNextReportCode()
        {
            return "R" + DateTime.Now.ToString("yyyyMMddHHmmss");
            //return "R" + ConfigBusiness.GetNumberIndexByKeyID(DictionaryCategoryConst.ReportCodeClass.ReportCodeIndex);
        }

        public static void UpdateReportCode()
        {
            //ConfigBusiness.UpdateNumberIndexByKeyID(DictionaryCategoryConst.ReportCodeClass.ReportCodeIndex);
        }

  
    }
}
